#include "backend.h"

BackEnd::BackEnd(QObject *parent)
    : QObject(parent)
{

}

QString BackEnd::userName()
{
    return mUserName;
}

void BackEnd::setUserName(const QString& aUserName)
{
    if(mUserName == aUserName)
    {
        return;
    }

    mUserName = aUserName;
    Q_EMIT userNameChanged();
}
